package com.mrd.gtimpframe.repository;

import com.mrd.gtimpframe.entity.DeclaCheckContent;

import org.springframework.stereotype.Repository;

import java.util.List;
import java.util.Map;

@Repository("declaCheckContentMapper")
public interface DeclaCheckContentMapper {
    int deleteByPrimaryKey(String id);

    int insert(DeclaCheckContent record);

    int insertSelective(DeclaCheckContent record);

    DeclaCheckContent selectByPrimaryKey(String id);

    int updateByPrimaryKeySelective(DeclaCheckContent record);

    int updateByPrimaryKey(DeclaCheckContent record);

    List<DeclaCheckContent> selectByTrackId(String trackId);

    List<Map<String,Object>> contentByTrack(String trackId);

    List<Map<String,Object>> caseByTrack(String trackId);

    int changeDeclaStateByTrack(Map map);

    List<Map<String, Object>> searchContent (Map<String, Object> params);
}
